﻿// <copyright file="BaseBuilding.cs" company="Gravity Age Studios">
// Code released under the MIT license (see License.txt).
// </copyright>
// <author>Vicente Cartas Espinel</author>
// <email>vicente.cartas@gmail.com</email>
namespace LightSwitchApplication
{
    public partial class BaseBuilding
    {
        #region HasInformation

        partial void HasPublicInformation_Compute(ref bool result)
        {
            result = !string.IsNullOrEmpty(this.PublicInformation);
        }

        partial void HasOwnerInformation_Compute(ref bool result)
        {
            result = !string.IsNullOrEmpty(this.OwnerInformation);
        }

        partial void HasGMInformation_Compute(ref bool result)
        {
            result = !string.IsNullOrEmpty(this.GMInformation);
        }

        #endregion
    }
}
